#导入app
from flask import Flask, app
app =Flask(__name__)

#导入course
from course import bp_coures
app.register_blueprint(bp_coures,url_prefix='/coures')

#主文件中加载
from config import Config
app.config.from_object(Config)

#接口
if __name__ =="__main__":
    app.run(host="127.0.0.1",port=5000)